//
// Created by Castle on 2025/10/28.
//

#include <iostream>
using namespace std;

int main() {
    // 三元运算符
    int m ;
    cin >> m;
    int a ;
    a = m <= 500 ? 8 : 10;
    cout << a;

    return 0;
}